package com.guigui.gulimall.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guigui.common.utils.PageUtils;
import com.guigui.gulimall.coupon.entity.SeckillPromotionEntity;
import com.guigui.gulimall.coupon.entity.SeckillSessionEntity;

import java.util.List;
import java.util.Map;

/**
 * 秒杀活动
 *
 * @author xin
 * @email 806748502@qq.com
 * @date 2021-07-23 15:59:52
 */
public interface SeckillPromotionService extends IService<SeckillPromotionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 最近三天需要秒杀的活动
     */
    List<SeckillPromotionEntity> getSeckillSessionLatest3Days();
}

